php forum
php mysql forum
php mysql smarty
 
Topic Options
#318736 - 04/09/11 04:04 PM [7.x] Stop Forum Spam Integration v0.4
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Author: Gizmo (James of VNC Web Design)

Requirements:
  • Valid UBB.Threads 7.0 install and license
  • PHP5+, PHP4 is not supported.
  • You will need an API Key from Stop Forum Spam.


About:
This modification will allow you to check your users (via the "Edit User" function in the Control Panel) and new signups (via the "Registration Queue") against the Stop Forum Spam databases.

When a spammer is identified a Red/Bold ! will display next to the field, clicking this ! will allow you to view the associated data on Stop Forum Spam.

As of v0.3 we're assuming that you have an API key and you want to submit spam; you'll likely want to put your API key in (both) the language files (admin/public) when you upload them to your server.

Changelog:
v0.1 - Initial Build
v0.2 - Fixed an issue with users having 0 posts throwing an error in the CP on the Edit User screen.
v0.3 - Overhauled the addon making it a true modification with Language File support. Also added it so that users triggering the signup check will be automatically submitted to Stop Forum Spam.
v0.4 - I believe I fixed the "downtime" issues, whereby if the validation server is down, people where unable to register.

Demo:
CP - Edit User Page - What's whown on the edit user page.
CP - Registration Queue - What's shown on the registration queue page.
CP - Report Spam - Option to report a spammer to the database.
Public - Registration Detected - Registration page, detected a spammer based on their IP address or EMail address.

NOTE: StopForumSpam.com only allows 5k 10k 20k lookups per day; thus, you should refrain from attempting to implement this code on pages which would quickly hit this limit (such as adding searches for all types of data on the search users page).

API Key: Go here and sign up on their forums, then go here once logged in and generate a key for "yourdomain.tld". This API key needs to be added to both of the language files in the modification archive (one in the "english" folder, and its subfolder of "admin").


Attachments
Stop Forum Spam v0.3.zip (14 downloads)
Description: Stop Forum Spam Integration v0.3

Stop_Forum_Spam_v0.4.zip (19 downloads)

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318738 - 04/09/11 09:33 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Just an FYI regarding the new "auto submission" feature when an email is matched; I initially wanted to do this for IP matching as well, but figured that since most ISP's divvy a dynamic IP that it wasn't really worthwhile to auto submit for them at this time, but it's totally doable if you'd like to.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318739 - 04/10/11 02:42 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Just heard from Paul at Stop Forum Spam and not only have they updated their limit to 10k from when I wrote up the initial mod, they upped the limit again to 20k!

So, I'll be adding some information on adding the lookup to the member manage listing itself for those of you who'd like to use it. Just be mindful of the 20k limit, if you have a ton of members you still might not want to run it...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318740 - 04/10/11 03:14 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
We're also now added to the Mods and Plugins page at Stop Forum Spam as well.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318811 - 07/04/11 01:14 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Deejay Offline
Lurker

Registered: 07/04/11
Posts: 1
Thanks for this... I am hoping it helps cut down the morons spamming our forums... smile

Top
#318817 - 07/05/11 02:46 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Deejay]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: Deejay
Thanks for this... I am hoping it helps cut down the morons spamming our forums... smile
well, if you keep track of how many you had before hand; keep us updated on how many you get now wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318823 - 07/07/11 11:07 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
smile Have you seen a drop off Gizzy?
_________________________
- Allen wavey
- What Drives You?

Top
#318827 - 07/07/11 11:46 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: AllenAyres
smile Have you seen a drop off Gizzy?
Loads, I used to have daily drive by trolls (2-3, nothing too big, but LOTS of posts) and now I'm lucky to see one a week...

I mean, I don't have as busy of a site as most of you, but we do have a decent PR value (4+) so we get a lot of pop in look around traffic tipsy.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318853 - 07/22/11 03:54 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
v0.4 added to the first post.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318904 - 04/09/12 11:38 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Bill B Offline
User

Registered: 12/23/01
Posts: 47
Loc: Issaquah, WA
I've installed the full MOD (Thanks Gizmo).. and now I'm breathlessly awaiting my first Spammer. (Had 4 or 5 last week.)

I have some questions (that may become obvious later to me) - but, if I look at the Demo's above, it appears that

1) known Spammers are REJECTED and can't register in the Forum. (from a pool of 21 million!!! Wow)....

2) So how does the Edit USER page show a spammer? or why?

3) or how does a USER Registration QUEUE work? How does a Spammer make it that far?

Thanks... I've wondered about this for MONTHS and now I'm eagerly waiting to see my first "customer"!!!!! Ha ha.
_________________________
Bill Barker
Issaquah, Wa

Top
#318905 - 04/16/12 02:46 AM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
bellaonline Offline
Lurker

Registered: 05/09/08
Posts: 7
I just implemented it - thanks to Gizmo for it. We have just been deluged with spammers.

I just did a check of the last set of registrations.

valid - 76
spammers - 68

So nearly half of all incoming registrations were going to start spamming us. This will make it much easier to stop them.

For some reason I am not seeing any note of their spam status on the main registration queue page. I have to click on their name to get to the detail page - and on that page I do see the red exclamation point by the email address or IP address (or usually both) to show they are a spammer.

Any thoughts on why I don't see that detail on the main registration queue page? I did make all the changes as instructed (or at least I thought I did).


Edited by bellaonline (04/16/12 02:59 AM)

Top
#318906 - 04/16/12 03:01 AM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
bellaonline Offline
Lurker

Registered: 05/09/08
Posts: 7
While I was in viewing the source of the registration queue page I noticed that the code to make the "approve / decline" radio buttons had a bug - it was adding slashes before the two quotes around the checked default button for "no change". So I removed them in my code. You might want to check that that is in the master code.

Top
#318907 - 04/16/12 11:47 AM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: bellaonline]
Bill B Offline
User

Registered: 12/23/01
Posts: 47
Loc: Issaquah, WA
Can you list the names of the pages that you're looking at?

I only see the red exclimation mark if I look at a specific user: /admin/showuser.php
_________________________
Bill Barker
Issaquah, Wa

Top
#318908 - 04/16/12 10:42 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Bill B]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: Bill B
1) known Spammers are REJECTED and can't register in the Forum. (from a pool of 21 million!!! Wow)....
Yes.

Originally Posted By: Bill B
2) So how does the Edit USER page show a spammer? or why?[/url] A red ! is shown next to the field with offending data; why? because it'd be useful there?

[quote=Bill B]3) or how does a USER Registration QUEUE work? How does a Spammer make it that far?
Users won't make it there, if they're flagged they won't even see the registration screen. Adding code elsewhere isn't recommended as you only get so many lookups per day, and on a busy board it'll end up hitting this limit if added to more sections than the default code supplied.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318909 - 04/17/12 12:58 AM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Bill B Offline
User

Registered: 12/23/01
Posts: 47
Loc: Issaquah, WA
Thanks... I understand it now... And it's as simple as it seems. Since they can't get registered, they won't show up anywhere.

I sure hope Ver 7.6 (8.0?) has this included.
_________________________
Bill Barker
Issaquah, Wa

Top
#318910 - 04/17/12 01:11 AM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
It won't since it requires an API key so has to pretty much remain a mod/plugin...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#318912 - 05/05/12 03:53 PM Re: [7.x] Stop Forum Spam Integration v0.4 [Re: Gizmo]
bellaonline Offline
Lurker

Registered: 05/09/08
Posts: 7
I'm happy to report that I just rolled the code in on my wineintro.com forum and it seems to be working smoothly there too. So that's two forums now running the code and seeing a reduction in spammers.

I only got one or two a week in this forum - fairly low traffic - but still every bit helps.

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks